<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class TestingItem extends BaseModel
{
    protected $table = 'testing_item';
    protected $fillable = ['testing_id','title','question_type','middle_var','index','options','expression','customer_item_id'];


    public function detail(){
        return $this->belongsTo(TestingDetail::class,'testing_id');
    }
}
